Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SetValue Method / SetValue<T>(Int32,Int32,T[,],Boolean) Method
Row index of the start of the range of cells
Column index of the start of the range of cells
Two-dimensional object array[row,column] that contains the values
if True, array will be set follow column index, other, it will be set follow row index.


In This Topic
    SetValue<T>(Int32,Int32,T[,],Boolean) Method
    In This Topic
    Sets an object array into a specified range of cells.
    Syntax
    'Declaration
     
    
    Public Overloads Function SetValue(Of T)( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal values(,) As T, _
       ByVal vertical As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim values() As T
    Dim vertical As Boolean
    Dim value As Boolean
     
    value = instance.SetValue(Of T)(row, column, values, vertical)
    public bool SetValue<T>( 
       int row,
       int column,
       T[,] values,
       bool vertical
    )

    Parameters

    row
    Row index of the start of the range of cells
    column
    Column index of the start of the range of cells
    values
    Two-dimensional object array[row,column] that contains the values
    vertical
    if True, array will be set follow column index, other, it will be set follow row index.

    Type Parameters

    T
    See Also